
const CinemaReducer = (prevState = {
    list: []
}, action) => {
    let newState = { ...prevState }
    switch (action.type) {
        case 'change-cinema-list':
            newState.list = action.list;
            return newState;
        default:
            return prevState
    }
}

export default CinemaReducer